/*
 * Copyright (c) 2022. China Mobile (SuZhou) Software Technology Co.,Ltd. All rights reserved.
 * Lakehouse is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

.execHistory {
  background-color: #fff;
  height: calc(100vh - 600px);

  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 6px;
  }

  .tip {
    width: 360px;
    height: 30px;
    display: inline-block;
    margin: 0;
    vertical-align: middle;

    > i {
      color: #337dff;
      font-size: 16px;
    }
  }
}

.execResult {
  background-color: #fff;
  .center {
    width: 500px;
    height: 80px;
    margin-top: 80px;
    margin-left: calc(50vw - 250px - 100px);
    text-align: center;
    word-break: break-all;

    div {
      font-size: 12px;
    }

    .title {
      margin-bottom: 10px;
    }

    .abort {
      margin-bottom: 15px;
    }

    .sql {
      font-weight: 900;
    }

    .show-log {
      color: #337dff;

      &:hover {
        cursor: pointer;
        color: #1890ff;
      }
    }
  }
}

.successExec {
  background-color: #fff;
  overflow: auto;

  .nullmsgExec {
    margin-top: 10px;
  }

  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 6px;

    .search-bar {
      width: 400px;
      height: 30px;
      display: flex;
      margin: 0;
      vertical-align: middle;

      i {
        color: #337dff;
        font-size: 16px;
      }
    }
  }
}
